#[derive(Debug, PartialEq, serde::Serialize, serde::Deserialize, Clone, Getters, Setters)]
#[getset(get_mut = "pub", get = "pub", set = "pub")]
pub struct RBACConfig {
    database_url: String,
    model_path: String,
}

impl RBACConfig {
    pub fn default() -> Self {
        Self {
            database_url: "mysql://root@127.0.0.1:3306/casbin".to_string(),
            model_path: "./rbac_model/model.conf".to_string(),
        }
    }
}
